
//
//  Student.m
//  08-类的拓展
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "Student.h"

@implementation Student
- (void)seeWeiChar {
    //3.让代理执行这些方法
    
    if (self.delegate != nil && [self.delegate respondsToSelector:@selector(buyMacBook:)]) {
    NSString *macbook = [self.delegate buyMacBook:@"14000"];
    NSLog(@"%@",macbook);
    }
}
@end
